﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public enum EGameMode
{
    None,
    InLobby,
    InGame
}
public class GameModeBase : IGameMode
{
   
    public void Enter() { OnEnter(); }
    public void Update() { OnUpdate(); }
    public void Leave() { OnLeave(); }

    protected virtual void OnInitialize() { }
    protected virtual void OnEnter() { }
    protected virtual void OnUpdate() { }
    protected virtual void OnLeave() { }

}
